package site.teamo.biu.flink.web.controller.model.function;

import lombok.Data;
import lombok.experimental.Accessors;
import site.teamo.biu.flink.common.function.descriptor.OperatorParameterDescriptor;

import java.util.ArrayList;
import java.util.List;

/**
 * @author haocongshun
 * @date 2023/11/06 11:22:05
 */

public class ListGroupByPackageResponse extends ArrayList<ListGroupByPackageResponse.Element> {

    @Data
    @Accessors(chain = true)
    public static class Element {
        private String id;
        private String name;
        private String tag;
        private List<Item> functions;

        @Data
        @Accessors(chain = true)
        public static class Item {
            private String id;
            private String name;
            private String className;
            private String type;
            private List<OperatorParameterDescriptor> parameters;
        }
    }
}
